# 作者：要努力，努力，再努力
# 开发时间：2022/4/29 15:03

class Student():

    def __init__(self, name, age, gender, score):
        self.name = name
        self.age = age
        self.gender = gender
        self.score = score

    def show(self):
        print(self.name, self.age, self.gender, self.score)


if __name__ == '__main__':
    list = []
    for i in range(3):
        strin = input('输入学生信息（用#分割）：')
        stu = Student(strin.split('#')[0], strin.split('#')[1], strin.split('#')[2], strin.split('#')[3])
        list.append(stu)

    for item in list:
        item.show()
